/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.member.mapper;

import com.jeeplus.core.persistence.BaseMapper;
import com.jeeplus.core.persistence.annotation.MyBatisMapper;
import com.jeeplus.modules.member.entity.Member;

import java.util.List;

/**
 * 用户信息MAPPER接口
 * @author freedom
 * @version 2020-08-23
 */
@MyBatisMapper
public interface MemberMapper extends BaseMapper<Member> {

	Member getMemberByLoginName(String loginName);

	Member getMemberByCode(String code);

	int getCountByCode(String code);

	void confirmIdCode(String id);

    void rejectIdCode(String id);
	Integer getTodayNum();

	List<Member> findMemberList(Member member);

    List<Member> findByOpenid(String openid);

    List<Member> findCenterMembers();

    List<Member> findAllPlaceMembers(String regionPlace);
}